﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Subtle.Data.Persistence.Interfaces;
using Subtle.Data.Persistence;

namespace Subtle.Domain.Models
{
	/// <summary>
	/// Category
	/// </summary>
	public class Category
	{
		public virtual int ID { get; set; }
		public virtual string Description { get; set; }
		public virtual DateTime DateCreated { get; set; }

		public virtual IList<Post> Posts { get; set; }

		/// <summary>
		/// Initializes a new Category
		/// </summary>
		public Category()
		{
			Posts = new List<Post>();
			DateCreated = DateTime.Now;
		}
	}
}
